﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 客户开票资料表
    /// </summary>
    [Table("Billingby")]
    public class Billingby: AuditFiled<int>
    {
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 契约编号
        /// </summary>
        public string? Contract { get; set; }
        /// <summary>
        /// 契约类型
        /// </summary>
        public int ContractType { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 公司电话
        /// </summary>
        public string? Companyphonenumber { get; set; }
        /// <summary>
        /// 纳税人识别号
        /// </summary>
        public string? TaxpayerIdentificationnumber { get; set; }
        /// <summary>
        /// 公司开户行
        /// </summary>
        public string? Thecompany { get; set; }
        /// <summary>
        /// 公司账户
        /// </summary>
        public string? Thecompanyopensanaccount { get; set; }
        /// <summary>
        /// 寄发票收件人
        /// </summary>
        public string? Sendinvoicetorecipient { get; set; }
        [Display(Name = "客户表Id")]
        [Editable(true)]
        /// <summary>
        /// 客户表Id
        /// </summary>
        public int CustomerId { get; set; }
    }
}
